package com.hnas.tjhnaaw.orm;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.hnas.core.orm.ID;

/**
 * 生成商户二维码
 */
@Entity
@Table(name = "tbl_generate_mrch_two_code")
public class GenerateMrchTwoCode extends ID {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5297516192293309012L;

	@Column(name = "mrch_id", nullable = false)
	private String mrchId; // 商户编号

	@Column(name = "mrch_name", nullable = false)
	private String mrchName; // 商户名称

	@Column(name = "term_no", nullable = false)
	private String termNo; // 终端编号

	@Column(name = "psam_card")
	private String psamCard; // PSAM卡号

	@Column(name = "sub_code")
	private String subCode; // 科目号 商家所支持的科目号

	@Column(name = "sub_name")
	private String subName; // 科目号 商家所支持的科目名称

	@Column(name = "remark")
	private String remark; // 备注

	@Column(name = "qrcode_no", nullable = false)
	private String qrcodeNo; // 生成的二维码标识

	@Column(name = "pic_name")
	private String picName; // 图片名称

	@Column(name = "qrcode_path")
	private String qrcodePath; // 二维码路径

	@Column(name = "valid", columnDefinition = "int default 1")
	private boolean valid; // 有效标识 [0 无效,1 有效]

	@Column(name = "eqp_name")
	private String eqpName; // 终端名称
	
	@Column(name = "discount")
	private String discount; // 折扣
	
	@Column(name = "create_time")
	private String createTime;

	@Column(name = "update_time")
	private String updateTime;

	public String getMrchId() {
		return mrchId;
	}

	public void setMrchId(String mrchId) {
		this.mrchId = mrchId;
	}

	public String getMrchName() {
		return mrchName;
	}

	public void setMrchName(String mrchName) {
		this.mrchName = mrchName;
	}

	public String getSubName() {
		return subName;
	}

	public void setSubName(String subName) {
		this.subName = subName;
	}

	public String getTermNo() {
		return termNo;
	}

	public void setTermNo(String termNo) {
		this.termNo = termNo;
	}

	public String getPsamCard() {
		return psamCard;
	}

	public void setPsamCard(String psamCard) {
		this.psamCard = psamCard;
	}

	public String getSubCode() {
		return subCode;
	}

	public void setSubCode(String subCode) {
		this.subCode = subCode;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getQrcodeNo() {
		return qrcodeNo;
	}

	public void setQrcodeNo(String qrcodeNo) {
		this.qrcodeNo = qrcodeNo;
	}

	public String getPicName() {
		return picName;
	}

	public void setPicName(String picName) {
		this.picName = picName;
	}

	public String getQrcodePath() {
		return qrcodePath;
	}

	public void setQrcodePath(String qrcodePath) {
		this.qrcodePath = qrcodePath;
	}

	public boolean isValid() {
		return valid;
	}

	public void setValid(boolean valid) {
		this.valid = valid;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getEqpName() {
		return eqpName;
	}

	public void setEqpName(String eqpName) {
		this.eqpName = eqpName;
	}

	public String getDiscount() {
		return discount;
	}

	public void setDiscount(String discount) {
		this.discount = discount;
	}
	
}
